package com.itqf.log;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * projectName: logandquratz2103
 *
 * @author: 赵伟风
 * time: 2021/7/6 9:52
 * description:
 */
public class UseLog {


    public static void main(String[] args) {
        /**
         * 参数： 1.类的模板对象
         *        2.字符串标识
         * 作用：如果工厂创建过相同标识的对象，不会二次创建！
         */
        Log log = LogFactory.getLog(UseLog.class);

        log.fatal("程序出现问题来！快点起来 调bug!!");
        log.info("日志输出hsdhadasdghasgdhasgdghasdgsadahsgdhsagdghasdhgasdhgasdhgasdghadghadghas！");
        log.info("日志输出hsdhadasdghasgdhasgdghasdgsadahsgdhsagdghasdhgasdhgasdhgasdghadghadghas！");
        log.info("日志输出hsdhadasdghasgdhasgdghasdgsadahsgdhsagdghasdhgasdhgasdhgasdghadghadghas！");
        log.info("日志输出hsdhadasdghasgdhasgdghasdgsadahsgdhsagdghasdhgasdhgasdhgasdghadghadghas！");
        log.info("日志输出hsdhadasdghasgdhasgdghasdgsadahsgdhsagdghasdhgasdhgasdhgasdghadghadghas！");
        log.info("日志输出hsdhadasdghasgdhasgdghasdgsadahsgdhsagdghasdhgasdhgasdhgasdghadghadghas！");
        log.info("日志输出hsdhadasdghasgdhasgdghasdgsadahsgdhsagdghasdhgasdhgasdhgasdghadghadghas！");
        log.info("日志输出hsdhadasdghasgdhasgdghasdgsadahsgdhsagdghasdhgasdhgasdhgasdghadghadghas！");
        log.info("日志输出hsdhadasdghasgdhasgdghasdgsadahsgdhsagdghasdhgasdhgasdhgasdghadghadghas！");
        log.info("日志输出hsdhadasdghasgdhasgdghasdgsadahsgdhsagdghasdhgasdhgasdhgasdghadghadghas！");
        log.info("日志输出hsdhadasdghasgdhasgdghasdgsadahsgdhsagdghasdhgasdhgasdhgasdghadghadghas！");
        log.info("日志输出hsdhadasdghasgdhasgdghasdgsadahsgdhsagdghasdhgasdhgasdhgasdghadghadghas！");
        log.info("日志输出hsdhadasdghasgdhasgdghasdgsadahsgdhsagdghasdhgasdhgasdhgasdghadghadghas！");
        log.info("日志输出hsdhadasdghasgdhasgdghasdgsadahsgdhsagdghasdhgasdhgasdhgasdghadghadghas！");
        log.info("日志输出hsdhadasdghasgdhasgdghasdgsadahsgdhsagdghasdhgasdhgasdhgasdghadghadghas！");
        log.info("日志输出hsdhadasdghasgdhasgdghasdgsadahsgdhsagdghasdhgasdhgasdhgasdghadghadghas！");
        log.info("日志输出hsdhadasdghasgdhasgdghasdgsadahsgdhsagdghasdhgasdhgasdhgasdghadghadghas！");

    }
}
